#include("./_layout.html")
#@layout()
#define content()
    <div class="article-list lwrap">
        #articlePage()
            #for(article : articlePage.list)
                <article class="article clearfix">
                    <div class="article-img">
                        <img src="#(article.showImage ?? 'https://i.loli.net/2020/02/20/P3Nfmun47pw9kCK.jpg')" alt="" srcset="">
                    </div>
                    <div class="article-center">
                        <h2><a class="transition" href="#(article.url ??)">#(article.title ??)</a></h2>
                        <div class="article-card">
                            <ul class="clearfix">
<!--                                <li class="label cursor"><a href="#">Lorem.</a></li>-->
                                <li><i class="iconfont">&#xe603;</i> #(article.view_count)</li>
                                <li><i class="iconfont">&#xe61a;</i> #(article.comment_count)</li>
                                <li class="time-right">#date(article.created)</li>
                            </ul>
                        </div>
                    </div>
                </article>
            #end
            #articlePaginate(firstGotoIndex=true)
                <nav class="article-page">
                    <ul class="clearfix">
                        #for(page : pages)
                            <li class="#(page.style ??)"><a href="#(page.url ??)">#(page.text ??)</a></li>
                        #end
                    </ul>
                </nav>
            #end
        #end
    </div>
#end